home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 18 / Developer Source Volume 18 (I-MODE Publications, Inc.)(2000).iso / delph / 951 / pachf102.gif < prev    next >
Graphics Interchange Format  |  1999-09-30  |  36KB  |  345x326  |  4-bit (16 colors)
Labels: text | screenshot | font | number | document
OCR: Type Description Template A combination of the remaining four methods forming an algorithm: Subclasses typically don't change this method and simply override the methods they call. Concrete Almethod hard coded by the abstract class that doesn't get overridden by the subclasses, In Delphi, this is aretatic method: Abstract A method declared by, and implemented by, each subclass in Delphi, the keyword abstract is used to define this type of method .. Hook A method that provides default functionality, and that they be overridden by subclasses, In Delphi, this is the virtual or dynamic method Event A pointer to a method. This method may be provided by the client of the abstract class. It will be called if it exists by the abstract class. When a method is provid- ed to the method pointer (e.g. OnClick event proper- tyl it's referred to as an fevent handler." Component whators will be familiar with this method type. Figure 2: Method types in an abstract class.